﻿using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.HealthReport
{
    /// <summary>
    /// 健康上报请求模型
    /// </summary>
    public class HealthReportRequestDto
    {
        /// <summary>
        /// 是否发烧
        /// </summary>
        public bool IsFever { get; set; }

        /// <summary>
        /// 是否咳嗽
        /// </summary>
        public bool IsCoughs { get; set; }

        /// <summary>
        /// 不舒适内容
        /// </summary>
        public string DiscomfortContent { get; set; }

        /// <summary>
        /// 体温（度）
        /// </summary>
        [Display(Name = "体温（度）")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public decimal Temperature { get; set; }

        /// <summary>
        /// 体温计图片
        /// </summary>
        [Display(Name = "体温计图片")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string TemperaturePhoto { get; set; }

        /// <summary>
        /// 血脂（总胆固醇）
        /// </summary>
        public decimal? TotalCholesterol { get; set; }

        /// <summary>
        /// 血脂（甘油三酯）
        /// </summary>
        public decimal? Triglyceride { get; set; }

        /// <summary>
        /// 血脂（高密度脂蛋白）
        /// </summary>
        public decimal? HighDensityLipoprotein { get; set; }

        /// <summary>
        /// 血脂（低密度脂蛋白）
        /// </summary>
        public decimal? LDL { get; set; }

        /// <summary>
        /// 血压（收缩压）
        /// </summary>
        public decimal? SystolicPressure { get; set; }

        /// <summary>
        /// 血压（舒张压）
        /// </summary>
        public decimal? DiastolicPressure { get; set; }

        /// <summary>
        /// 血糖
        /// </summary>
        public decimal? BloodGlucose { get; set; }

        /// <summary>
        /// 心跳（次/分钟）
        /// </summary>
        public int? HeartBeat { get; set; }

        /// <summary>
        /// 身高（cm）
        /// </summary>
        public int? Height { get; set; }

        /// <summary>
        /// 体重（kg）
        /// </summary>
        public decimal? Weight { get; set; }
    }
}
